TIMmay v0.3, TIM ripper and reinserter
  By Klarth (stevemonaco@hotmail.com)
  Insomniac Translations
  http://rpgd.emulationworld.com/klarth/
  September 30, 2003

1. Requirements
     DLLs - None, I linked statically with the VC++ 7 Runtime, adding 40KB onto the exe size.
     System - Windows, any version.  Source can be ported to other platforms by recompilation.
            - Uses 4mb of RAM for a buffer

2. How to use:
     Extract TIMs from a file by:
       TIMmay e file.ext
       TIMmay e file.ext FirstFile LastFile
       This creates a file.ext.log file which you need to reinsert the TIMs ripped.
       The second method allows you to specify an inclusive range of TIMs to dump, 0 15
       dumps the first 16 TIMs.

       Warning: Do not specify a filename with spaces in it.  The build file parser will
       not handle it correctly.

     Edit your TIMs with an external program.

     Insert TIMs into the file by:
       TIMmay i file.ext file.ext.log
       The TIMs must be the in same directory as the executable.
       It will reinsert all TIMs in the build list, skipping the ones that are missing
       in the directory.  No need to edit the build file to remove the TIMs that
       were not modified.

3. Notes on the build file:
     If you need to modify it for some reason, here's the simple format of the text file:
     filename offset size
     Filename cannot contain spaces.  Offset and size are in dec.

     Also, the inserter does not verify the TIM in any way.  If you really wanted to, you
     could insert other sorts of data with it.